function ajaxCall(manager, method, arguments, onResponse){
	$.post("/proddev/controller?ajax=true&manager="+manager+"&method="+method+"&"+arguments, function(data){		
		if (onResponse != null && "" != data){
			onResponse(data);
		}
	});
}

function ajaxDataCall(manager, method, arguments, dataJSON, onResponse){
	$.post("/proddev/controller?ajax=true&manager="+manager+"&method="+method+"&"+arguments, dataJSON, function(data){
		if (onResponse != null){
			onResponse(data);
		}
	});
}

function buildParameter(name){
	return name+"="+document.getElementById(name).value;
}

function isDefined( variable)
{
    return (typeof(window[variable]) == "undefined")?  false: true;
}

